export const saveTodos = (todos) => {
  // 保存数据到浏览器的缓存中
  localStorage.setItem('todos_key', JSON.stringify(todos));
}
export const readTodos = () => {
  return JSON.parse(localStorage.getItem('todos_key') || '[]');
}
